@for (subEntity of subEntities; track subEntity.id || $index) {
  @if (getEntityUrl(subEntity); as entityUrl) {
    <a [routerLink]="entityUrl" 
       class="cne-item-chip"
       (click)="$event.stopPropagation()">
      {{ getEntityName(subEntity) | translate }}
    </a>
  } @else {
    <span class="cne-item-chip cne-item-chip-no-link">
      {{ getEntityName(subEntity) | translate }}
    </span>
  }
}
